package com.scs.application.modules.fsd.service;


import com.scs.application.core.service.IBaseService;
import com.scs.application.modules.fsd.dto.SaveStationDTO;
import com.scs.application.modules.fsd.entity.FsdChest;
import com.scs.application.modules.fsd.vo.ChestsAndStationsByUserResult;
import com.scs.application.modules.sys.model.RestResult;

import java.util.List;
import java.util.Map;

/**
 */
public interface ChestService extends IBaseService<FsdChest> {
    FsdChest findById(String id);

    boolean createStationAndChest(SaveStationDTO stationDTO);

    List<FsdChest> getChestsByStation(String id);

    Map<String, String> createChest(String chestNo, String stationId);

    Boolean editStation(SaveStationDTO stationDTO);

    List<FsdChest> getStationByChest(String id);

    boolean changeStationAndChestNoByChest(String chestNo, String stationId, String chestId);

    List<ChestsAndStationsByUserResult>  getChestsAndStationsAll();

    boolean editChest(String chestNo, String id);

    RestResult addChest(String stationId);

    RestResult removeChest(String stationId);
}
